<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib uri="http://displaytag.sf.net" prefix="display"%>
<%@ taglib uri="http://www.springframework.org/tags" prefix="s"%>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<%@ taglib uri="http://www.springframework.org/security/tags" prefix="ss"%>
<!-- SIDEBAR -->
<div id="aside">
	<h3 class="title">Menu</h3>
	<div class="padding">
		<ul class="menu">
			<li class="first current"><a href="<%=request.getContextPath()%>/welcome.do">Homepage</a>
			</li>
			<li><a href="<%=request.getContextPath()%>/authors.do">Show List</a>
			</li>
			<ss:authorize access="hasRole('ROLE_ADMIN')">
				<li><a href="<%=request.getContextPath()%>/authors/new.do">Add New</a>
				</li>
			</ss:authorize>
			
			</li>
		</ul>
	</div>
	<!-- /padding -->
</div>
<!-- /aside -->
</div>
<!-- /section -->